import React from "react";
import { Switch } from "antd";

const VSwitch: React.FC<any> = (props) => {
  return <Switch size="small" {...props} defaultChecked={props.default} checked={props.value}></Switch>
}

export default VSwitch;
